home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / tool chest / macapp / ad lib 3.0.1 / install ad lib 3.0.1 / Ad Lib 3.0.1 / MacApp Extensions / UBehaviorApp.cpp < prev    next >
MacBinary  |  1998-05-29  |  3.4 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri May 29 11:20:52 1998, modified Fri May 29 11:20:52 1998, creator 'CWIE', type ASCII, 2752 bytes "UBehaviorApp.cpp" , at 0xb40 474 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 55 42 65 68 61 76 | 69 6f 72 41 70 70 2e 63 |..UBehav|iorApp.c|
|00000010| 70 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |pp......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0a c0 00 | 00 01 da b1 94 82 d4 b1 |........|........|
|00000060| 94 82 d4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 31 74 00 00 |........|....1t..|
|00000080| 2f 2f 09 55 42 65 68 61 | 76 69 6f 72 41 70 70 2e |//.UBeha|viorApp.|
|00000090| 63 70 0d 2f 2f 09 43 6f | 70 79 72 69 67 68 74 20 |cp.//.Co|pyright |
|000000a0| a9 20 31 39 39 32 2d 31 | 39 39 36 20 4e 69 63 6b |. 1992-1|996 Nick|
|000000b0| 20 4e 61 6c 6c 69 63 6b | 2e 20 20 41 6c 6c 20 72 | Nallick|. All r|
|000000c0| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 0d |ights re|served..|
|000000d0| 2f 2f 0d 2f 2f 0d 2f 2f | 09 43 68 61 6e 67 65 73 |//.//.//|.Changes|
|000000e0| 3a 0d 2f 2f 0d 2f 2f 09 | 09 a5 09 41 64 64 20 4d |:.//.//.|...Add M|
|000000f0| 61 63 41 70 70 20 52 65 | 6c 65 61 73 65 20 31 33 |acApp Re|lease 13|
|00000100| 20 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 0d 2f | compati|bility./|
|00000110| 2f 09 09 a5 20 09 4d 61 | 6b 65 20 73 75 72 65 20 |/... .Ma|ke sure |
|00000120| 63 6c 61 73 73 20 67 65 | 74 73 20 64 65 63 6c 61 |class ge|ts decla|
|00000130| 72 65 64 20 61 6e 64 20 | 64 65 66 69 6e 65 64 2e |red and |defined.|
|00000140| 0d 2f 2f 09 09 a5 09 41 | 64 64 20 4d 61 63 41 70 |.//....A|dd MacAp|
|00000150| 70 20 33 2e 33 20 63 6f | 6d 70 61 74 69 62 69 6c |p 3.3 co|mpatibil|
|00000160| 69 74 79 2e 0d 2f 2f 09 | 09 a5 09 41 64 64 20 4d |ity..//.|...Add M|
|00000170| 61 63 41 70 70 20 33 2e | 31 20 63 6f 6d 70 61 74 |acApp 3.|1 compat|
|00000180| 69 62 69 6c 69 74 79 2e | 0d 2f 2f 0d 0d 23 69 66 |ibility.|.//..#if|
|00000190| 6e 64 65 66 20 5f 5f 52 | 45 53 4f 55 52 43 45 53 |ndef __R|ESOURCES|
|000001a0| 5f 5f 0d 23 69 6e 63 6c | 75 64 65 20 3c 52 65 73 |__.#incl|ude <Res|
|000001b0| 6f 75 72 63 65 73 2e 68 | 3e 0d 23 65 6e 64 69 66 |ources.h|>.#endif|
|000001c0| 0d 0d 23 69 6e 63 6c 75 | 64 65 20 22 55 42 65 68 |..#inclu|de "UBeh|
|000001d0| 61 76 69 6f 72 41 70 70 | 2e 68 22 0d 0d 0d 2f 2f |aviorApp|.h"...//|
|000001e0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000001f0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 20 |////////|/////// |
|00000200| 54 42 65 68 61 76 69 6f | 72 41 70 70 20 2f 2f 2f |TBehavio|rApp ///|
|00000210| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000220| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 0d 2f |////////|//////./|
|00000230| 2f 0d 2f 2f 09 54 68 69 | 73 20 69 73 20 61 6e 20 |/.//.Thi|s is an |
|00000240| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 6f 62 6a 65 |applicat|ion obje|
|00000250| 63 74 20 74 68 61 74 20 | 6c 6f 61 64 73 20 69 74 |ct that |loads it|
|00000260| 73 20 62 65 68 61 76 69 | 6f 72 73 20 66 72 6f 6d |s behavi|ors from|
|00000270| 20 61 6e 79 20 27 42 48 | 56 52 27 20 72 65 73 6f | any 'BH|VR' reso|
|00000280| 75 72 63 65 2e 0d 2f 2f | 0d 0d 23 70 72 61 67 6d |urce..//|..#pragm|
|00000290| 61 20 73 65 67 6d 65 6e | 74 20 41 49 6e 69 74 0d |a segmen|t AInit.|
|000002a0| 0d 44 45 46 49 4e 45 5f | 43 4c 41 53 53 28 54 42 |.DEFINE_|CLASS(TB|
|000002b0| 65 68 61 76 69 6f 72 41 | 70 70 2c 20 54 41 70 70 |ehaviorA|pp, TApp|
|000002c0| 6c 69 63 61 74 69 6f 6e | 29 3b 0d 0d 23 69 66 20 |lication|);..#if |
|000002d0| 71 4d 61 63 41 70 70 56 | 65 72 73 69 6f 6e 20 3e |qMacAppV|ersion >|
|000002e0| 20 33 33 0d 54 42 65 68 | 61 76 69 6f 72 41 70 70 | 33.TBeh|aviorApp|
|000002f0| 3a 3a 54 42 65 68 61 76 | 69 6f 72 41 70 70 28 4f |::TBehav|iorApp(O|
|00000300| 53 54 79 70 65 20 69 74 | 73 4d 61 69 6e 46 69 6c |SType it|sMainFil|
|00000310| 65 54 79 70 65 2c 20 4f | 53 54 79 70 65 20 69 74 |eType, O|SType it|
|00000320| 73 43 72 65 61 74 6f 72 | 29 20 3a 0d 09 54 41 70 |sCreator|) :..TAp|
|00000330| 70 6c 69 63 61 74 69 6f | 6e 28 69 74 73 4d 61 69 |plicatio|n(itsMai|
|00000340| 6e 46 69 6c 65 54 79 70 | 65 2c 20 69 74 73 43 72 |nFileTyp|e, itsCr|
|00000350| 65 61 74 6f 72 29 0d 7b | 0d 09 2f 2f 20 63 61 6e |eator).{|..// can|
|00000360| 27 74 20 63 61 6c 6c 20 | 4d 61 6b 65 42 65 68 61 |'t call |MakeBeha|
|00000370| 76 69 6f 72 73 20 68 65 | 72 65 20 62 65 63 61 75 |viors he|re becau|
|00000380| 73 65 20 67 56 69 65 77 | 53 65 72 76 65 72 20 68 |se gView|Server h|
|00000390| 61 73 6e 27 74 20 62 65 | 65 6e 20 63 6f 6e 73 74 |asn't be|en const|
|000003a0| 72 75 63 74 65 64 20 79 | 65 74 2e 0d 7d 0d 0d 2f |ructed y|et..}../|
|000003b0| 2f 20 44 65 73 74 72 75 | 63 74 6f 72 20 61 64 64 |/ Destru|ctor add|
|000003c0| 65 64 09 2d 2d 09 4d 42 | 2d 39 38 2d 30 35 2d 32 |ed.--.MB|-98-05-2|
|000003d0| 39 2d 31 38 31 39 0d 54 | 42 65 68 61 76 69 6f 72 |9-1819.T|Behavior|
|000003e0| 41 70 70 3a 3a 7e 54 42 | 65 68 61 76 69 6f 72 41 |App::~TB|ehaviorA|
|000003f0| 70 70 28 29 0d 7b 0d 09 | 2f 2f 20 a5 a5 a5 20 44 |pp().{..|// ... D|
|00000400| 65 6c 65 74 65 20 62 65 | 68 61 76 69 6f 72 73 3f |elete be|haviors?|
|00000410| 20 6f 72 20 77 69 6c 6c | 20 69 74 20 62 65 20 64 | or will| it be d|
|00000420| 6f 6e 65 20 61 75 74 6f | 6d 61 67 69 63 61 6c 6c |one auto|magicall|
|00000430| 79 3f 0d 7d 0d 0d 76 6f | 69 64 20 54 42 65 68 61 |y?.}..vo|id TBeha|
|00000440| 76 69 6f 72 41 70 70 3a | 3a 44 6f 49 6e 69 74 69 |viorApp:|:DoIniti|
|00000450| 61 6c 53 74 61 74 65 28 | 29 0d 7b 0d 09 54 41 70 |alState(|).{..TAp|
|00000460| 70 6c 69 63 61 74 69 6f | 6e 3a 3a 44 6f 49 6e 69 |plicatio|n::DoIni|
|00000470| 74 69 61 6c 53 74 61 74 | 65 28 29 3b 0d 09 4d 61 |tialStat|e();..Ma|
|00000480| 6b 65 42 65 68 61 76 69 | 6f 72 73 28 29 3b 09 2f |keBehavi|ors();./|
|00000490| 2f 20 a5 a5 a5 20 4d 45 | 42 20 77 61 73 20 4d 61 |/ ... ME|B was Ma|
|000004a0| 6b 65 42 65 68 61 76 69 | 6f 72 73 3b 20 73 6f 20 |keBehavi|ors; so |
|000004b0| 66 75 6e 63 74 69 6f 6e | 20 77 61 73 20 6e 65 76 |function| was nev|
|000004c0| 65 72 20 63 61 6c 6c 65 | 64 0d 7d 0d 0d 23 65 6c |er calle|d.}..#el|
|000004d0| 73 65 0d 0d 4d 41 43 41 | 50 50 5f 4d 45 54 48 4f |se..MACA|PP_METHO|
|000004e0| 44 0d 76 6f 69 64 20 54 | 42 65 68 61 76 69 6f 72 |D.void T|Behavior|
|000004f0| 41 70 70 3a 3a 49 42 65 | 68 61 76 69 6f 72 41 70 |App::IBe|haviorAp|
|00000500| 70 28 4f 53 54 79 70 65 | 20 69 74 73 4d 61 69 6e |p(OSType| itsMain|
|00000510| 46 69 6c 65 54 79 70 65 | 2c 20 4f 53 54 79 70 65 |FileType|, OSType|
|00000520| 20 69 74 73 43 72 65 61 | 74 6f 72 29 0d 7b 0d 09 | itsCrea|tor).{..|
|00000530| 49 41 70 70 6c 69 63 61 | 74 69 6f 6e 28 69 74 73 |IApplica|tion(its|
|00000540| 4d 61 69 6e 46 69 6c 65 | 54 79 70 65 2c 20 69 74 |MainFile|Type, it|
|00000550| 73 43 72 65 61 74 6f 72 | 29 3b 0d 09 4d 61 6b 65 |sCreator|);..Make|
|00000560| 42 65 68 61 76 69 6f 72 | 73 28 29 3b 0d 7d 0d 0d |Behavior|s();.}..|
|00000570| 23 65 6e 64 69 66 20 2f | 2f 20 71 4d 61 63 41 70 |#endif /|/ qMacAp|
|00000580| 70 56 65 72 73 69 6f 6e | 0d 0d 76 6f 69 64 20 54 |pVersion|..void T|
|00000590| 42 65 68 61 76 69 6f 72 | 41 70 70 3a 3a 4d 61 6b |Behavior|App::Mak|
|000005a0| 65 42 65 68 61 76 69 6f | 72 73 28 29 0d 7b 0d 09 |eBehavio|rs().{..|
|000005b0| 73 68 6f 72 74 20 63 75 | 72 52 73 72 63 46 69 6c |short cu|rRsrcFil|
|000005c0| 65 20 3d 20 43 75 72 52 | 65 73 46 69 6c 65 28 29 |e = CurR|esFile()|
|000005d0| 3b 0d 09 63 6f 6e 73 74 | 20 52 65 73 54 79 70 65 |;..const| ResType|
|000005e0| 20 6b 42 65 68 61 76 69 | 6f 72 54 79 70 65 20 3d | kBehavi|orType =|
|000005f0| 20 27 42 48 56 52 27 3b | 0d 09 73 68 6f 72 74 20 | 'BHVR';|..short |
|00000600| 72 73 72 63 43 6f 75 6e | 74 20 3d 20 43 6f 75 6e |rsrcCoun|t = Coun|
|00000610| 74 52 65 73 6f 75 72 63 | 65 73 28 6b 42 65 68 61 |tResourc|es(kBeha|
|00000620| 76 69 6f 72 54 79 70 65 | 29 3b 09 2f 2f 20 74 72 |viorType|);.// tr|
|00000630| 79 20 61 6c 6c 20 27 42 | 48 56 52 27 20 72 65 73 |y all 'B|HVR' res|
|00000640| 6f 75 72 63 65 73 0d 09 | 66 6f 72 20 28 73 68 6f |ources..|for (sho|
|00000650| 72 74 20 69 20 3d 20 31 | 3b 20 69 20 3c 3d 20 72 |rt i = 1|; i <= r|
|00000660| 73 72 63 43 6f 75 6e 74 | 3b 20 2b 2b 69 29 0d 09 |srcCount|; ++i)..|
|00000670| 7b 0d 09 09 53 65 74 52 | 65 73 4c 6f 61 64 28 46 |{...SetR|esLoad(F|
|00000680| 41 4c 53 45 29 3b 09 09 | 09 09 2f 2f 20 64 6f 6e |ALSE);..|..// don|
|00000690| 27 74 20 6c 6f 61 64 20 | 74 68 65 20 72 65 73 6f |'t load |the reso|
|000006a0| 75 72 63 65 20 75 6e 74 | 69 6c 20 77 65 20 6b 6e |urce unt|il we kn|
|000006b0| 6f 77 20 77 65 20 6e 65 | 65 64 20 69 74 0d 09 09 |ow we ne|ed it...|
|000006c0| 48 61 6e 64 6c 65 20 72 | 73 72 63 20 3d 20 47 65 |Handle r|src = Ge|
|000006d0| 74 49 6e 64 52 65 73 6f | 75 72 63 65 28 6b 42 65 |tIndReso|urce(kBe|
|000006e0| 68 61 76 69 6f 72 54 79 | 70 65 2c 20 69 29 3b 0d |haviorTy|pe, i);.|
|000006f0| 09 09 53 65 74 52 65 73 | 4c 6f 61 64 28 54 52 55 |..SetRes|Load(TRU|
|00000700| 45 29 3b 0d 09 09 54 48 | 52 4f 57 49 46 4e 55 4c |E);...TH|ROWIFNUL|
|00000710| 4c 28 72 73 72 63 29 3b | 0d 09 09 69 66 20 28 48 |L(rsrc);|...if (H|
|00000720| 6f 6d 65 52 65 73 46 69 | 6c 65 28 72 73 72 63 29 |omeResFi|le(rsrc)|
|00000730| 20 3d 3d 20 63 75 72 52 | 73 72 63 46 69 6c 65 29 | == curR|srcFile)|
|00000740| 09 09 2f 2f 20 6f 6e 6c | 79 20 75 73 65 20 74 68 |..// onl|y use th|
|00000750| 65 20 63 75 72 72 65 6e | 74 20 72 65 73 6f 75 72 |e curren|t resour|
|00000760| 63 65 20 66 69 6c 65 0d | 09 09 7b 0d 09 09 09 4d |ce file.|..{....M|
|00000770| 41 56 6f 6c 61 74 69 6c | 65 49 6e 69 74 28 54 53 |AVolatil|eInit(TS|
|00000780| 74 72 65 61 6d 2a 2c 20 | 73 74 72 65 61 6d 2c 20 |tream*, |stream, |
|00000790| 4e 55 4c 4c 29 3b 0d 23 | 69 66 20 71 4d 61 63 41 |NULL);.#|if qMacA|
|000007a0| 70 70 56 65 72 73 69 6f | 6e 20 3c 3d 20 33 33 0d |ppVersio|n <= 33.|
|000007b0| 09 09 09 46 61 69 6c 49 | 6e 66 6f 20 66 69 3b 0d |...FailI|nfo fi;.|
|000007c0| 09 09 09 54 52 59 28 66 | 69 29 0d 23 65 6c 73 65 |...TRY(f|i).#else|
|000007d0| 0d 09 09 09 74 72 79 0d | 23 65 6e 64 69 66 0d 09 |....try.|#endif..|
|000007e0| 09 09 7b 0d 09 09 09 09 | 54 42 65 68 61 76 69 6f |..{.....|TBehavio|
|000007f0| 72 2a 20 62 65 68 61 76 | 69 6f 72 3b 0d 09 09 09 |r* behav|ior;....|
|00000800| 09 4c 6f 61 64 52 65 73 | 6f 75 72 63 65 28 72 73 |.LoadRes|ource(rs|
|00000810| 72 63 29 3b 0d 09 09 09 | 09 54 48 52 4f 57 49 46 |rc);....|.THROWIF|
|00000820| 52 45 53 45 52 52 4f 52 | 28 29 3b 0d 09 09 09 09 |RESERROR|();.....|
|00000830| 73 74 72 65 61 6d 20 3d | 20 67 56 69 65 77 53 65 |stream =| gViewSe|
|00000840| 72 76 65 72 2d 3e 44 6f | 4d 61 6b 65 56 69 65 77 |rver->Do|MakeView|
|00000850| 53 74 72 65 61 6d 28 6b | 4e 6f 52 65 73 6f 75 72 |Stream(k|NoResour|
|00000860| 63 65 2c 20 72 73 72 63 | 29 3b 09 2f 2f 20 63 72 |ce, rsrc|);.// cr|
|00000870| 65 61 74 65 20 61 20 73 | 74 72 65 61 6d 0d 09 09 |eate a s|tream...|
|00000880| 09 09 73 68 6f 72 74 20 | 62 65 68 61 76 69 6f 72 |..short |behavior|
|00000890| 43 6f 75 6e 74 20 3d 20 | 73 74 72 65 61 6d 2d 3e |Count = |stream->|
|000008a0| 52 65 61 64 49 6e 74 65 | 67 65 72 28 29 3b 09 09 |ReadInte|ger();..|
|000008b0| 2f 2f 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 65 68 |// numbe|r of beh|
|000008c0| 61 76 69 6f 72 20 69 6e | 20 72 65 73 6f 75 72 63 |avior in| resourc|
|000008d0| 65 0d 09 09 09 09 77 68 | 69 6c 65 20 28 62 65 68 |e.....wh|ile (beh|
|000008e0| 61 76 69 6f 72 43 6f 75 | 6e 74 2d 2d 20 3e 20 30 |aviorCou|nt-- > 0|
|000008f0| 29 0d 09 09 09 09 7b 0d | 23 69 66 20 71 4d 61 63 |).....{.|#if qMac|
|00000900| 41 70 70 56 65 72 73 69 | 6f 6e 20 3c 3d 20 33 33 |AppVersi|on <= 33|
|00000910| 0d 09 09 09 09 09 69 66 | 20 28 73 74 72 65 61 6d |......if| (stream|
|00000920| 2d 3e 52 65 61 64 53 74 | 72 65 61 6d 4f 62 6a 65 |->ReadSt|reamObje|
|00000930| 63 74 28 28 54 4f 62 6a | 65 63 74 2a 26 29 20 62 |ct((TObj|ect*&) b|
|00000940| 65 68 61 76 69 6f 72 29 | 29 0d 23 65 6c 73 65 0d |ehavior)|).#else.|
|00000950| 09 09 09 09 09 62 6f 6f | 6c 20 77 61 73 56 61 6c |.....boo|l wasVal|
|00000960| 69 64 3b 0d 09 09 09 09 | 09 62 65 68 61 76 69 6f |id;.....|.behavio|
|00000970| 72 20 3d 20 64 79 6e 61 | 6d 69 63 5f 63 61 73 74 |r = dyna|mic_cast|
|00000980| 3c 54 42 65 68 61 76 69 | 6f 72 2a 3e 20 28 73 74 |<TBehavi|or*> (st|
|00000990| 72 65 61 6d 2d 3e 52 65 | 61 64 53 74 72 65 61 6d |ream->Re|adStream|
|000009a0| 4f 62 6a 65 63 74 28 77 | 61 73 56 61 6c 69 64 29 |Object(w|asValid)|
|000009b0| 29 3b 0d 09 09 09 09 09 | 69 66 20 28 77 61 73 56 |);......|if (wasV|
|000009c0| 61 6c 69 64 29 0d 23 65 | 6e 64 69 66 0d 09 09 09 |alid).#e|ndif....|
|000009d0| 09 09 09 74 68 69 73 2d | 3e 41 64 64 42 65 68 61 |...this-|>AddBeha|
|000009e0| 76 69 6f 72 28 62 65 68 | 61 76 69 6f 72 29 3b 0d |vior(beh|avior);.|
|000009f0| 09 09 09 09 7d 0d 09 09 | 09 09 46 72 65 65 49 66 |....}...|..FreeIf|
|00000a00| 4f 62 6a 65 63 74 28 73 | 74 72 65 61 6d 29 3b 0d |Object(s|tream);.|
|00000a10| 23 69 66 20 71 4d 61 63 | 41 70 70 56 65 72 73 69 |#if qMac|AppVersi|
|00000a20| 6f 6e 20 3c 3d 20 33 33 | 0d 09 09 09 09 66 69 2e |on <= 33|.....fi.|
|00000a30| 53 75 63 63 65 73 73 28 | 29 3b 0d 23 65 6e 64 69 |Success(|);.#endi|
|00000a40| 66 0d 09 09 09 7d 0d 23 | 69 66 20 71 4d 61 63 41 |f....}.#|if qMacA|
|00000a50| 70 70 56 65 72 73 69 6f | 6e 20 3c 3d 20 33 33 0d |ppVersio|n <= 33.|
|00000a60| 09 09 09 65 6c 73 65 0d | 23 65 6c 73 65 0d 09 09 |...else.|#else...|
|00000a70| 09 63 61 74 63 68 20 28 | 43 45 78 63 65 70 74 69 |.catch (|CExcepti|
|00000a80| 6f 6e 5f 41 43 26 20 74 | 68 65 45 78 63 65 70 74 |on_AC& t|heExcept|
|00000a90| 69 6f 6e 29 0d 23 65 6e | 64 69 66 0d 09 09 09 7b |ion).#en|dif....{|
|00000aa0| 0d 09 09 09 09 52 65 6c | 65 61 73 65 52 65 73 6f |.....Rel|easeReso|
|00000ab0| 75 72 63 65 28 72 73 72 | 63 29 3b 0d 09 09 09 09 |urce(rsr|c);.....|
|00000ac0| 46 72 65 65 49 66 4f 62 | 6a 65 63 74 28 73 74 72 |FreeIfOb|ject(str|
|00000ad0| 65 61 6d 29 3b 0d 23 69 | 66 20 71 4d 61 63 41 70 |eam);.#i|f qMacAp|
|00000ae0| 70 56 65 72 73 69 6f 6e | 20 3c 3d 20 33 33 0d 09 |pVersion| <= 33..|
|00000af0| 09 09 09 66 69 2e 52 65 | 53 69 67 6e 61 6c 28 29 |...fi.Re|Signal()|
|00000b00| 3b 0d 23 65 6c 73 65 0d | 09 09 09 09 74 68 72 6f |;.#else.|....thro|
|00000b10| 77 3b 0d 23 65 6e 64 69 | 66 0d 09 09 09 7d 0d 09 |w;.#endi|f....}..|
|00000b20| 09 7d 0d 09 09 52 65 6c | 65 61 73 65 52 65 73 6f |.}...Rel|easeReso|
|00000b30| 75 72 63 65 28 72 73 72 | 63 29 3b 0d 09 7d 0d 7d |urce(rsr|c);..}.}|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 01 00 00 00 01 7c | 00 00 00 7c 00 00 00 5e |.......||...|...^|
|00000b90| 7b 0d 09 09 49 6e 69 74 | 55 4d 61 63 41 70 70 28 |{...Init|UMacApp(|
|00000ba0| 31 32 29 3b 09 09 09 09 | 09 09 09 2f 2f 20 49 6e |12);....|...// In|
|00000bb0| 10 55 42 65 68 61 76 69 | 6f 72 41 70 70 2e 63 70 |.UBehavi|orApp.cp|
|00000bc0| 70 2e 63 70 70 68 68 68 | 68 65 62 75 67 29 65 29 |p.cpphhh|hebug)e)|
|00000bd0| 02 00 54 45 58 54 43 57 | 49 45 01 00 00 1a 00 c0 |..TEXTCW|IE......|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 a6 55 d5 a3 00 00 | 0a c0 00 00 01 da 49 6e |...U....|......In|
|00000c00| 69 74 55 47 72 69 64 56 | 69 65 77 28 29 3b 0d 09 |itUGridV|iew();..|
|00000c10| 09 49 6e 69 74 55 46 6c | 6f 61 74 57 69 6e 64 6f |.InitUFl|oatWindo|
|00000c20| 77 28 29 3b 0d 0d 09 09 | 67 54 65 73 74 41 70 70 |w();....|gTestApp|
|00000c30| 6c 69 63 61 74 69 6f 6e | 20 3d 20 6e 65 77 20 54 |lication| = new T|
|00000c40| 54 65 73 74 41 70 70 6c | 69 63 61 74 69 6f 6e 3b |TestAppl|ication;|
|00000c50| 0d 09 09 67 54 65 73 74 | 41 70 70 6c 69 63 61 74 |...gTest|Applicat|
|00000c60| 69 6f 6e 2d 3e 49 54 65 | 73 74 41 70 70 6c 69 63 |ion->ITe|stApplic|
|00000c70| 61 74 69 6f 6e 28 29 3b | 0d 09 09 67 54 65 73 74 |ation();|...gTest|
|00000c80| 00 00 00 1e 00 50 00 20 | 01 dd 02 3d 00 50 00 20 |.....P. |...=.P. |
|00000c90| 01 dd 02 3d 00 00 00 00 | 00 00 00 00 00 00 00 00 |...=....|........|
|00000ca0| 00 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 00 |.....H..|Monaco..|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 02 00 04 00 2c 00 08 |........|.....,..|
|00000cd0| 02 40 02 5e 00 2c 00 08 | 02 40 02 5e b1 94 c0 27 |.@.^.,..|.@.^...'|
|00000ce0| 00 00 03 b2 00 00 03 b2 | 00 00 01 b2 01 00 00 00 |........|........|
|00000cf0| 00 02 00 00 00 00 00 04 | 00 01 00 01 00 00 01 00 |........|........|
|00000d00| 00 00 01 7c 00 00 00 7c | 00 00 00 5e 02 84 f2 e0 |...|...||...^....|
|00000d10| 26 ee 00 00 00 1c 00 5e | 00 01 4d 50 53 52 00 02 |&......^|..MPSR..|
|00000d20| 00 12 4d 57 42 42 00 00 | 00 36 03 f0 ff ff 00 00 |..MWBB..|.6......|
|00000d30| 00 00 00 00 00 00 03 ed | ff ff 00 00 00 22 00 00 |........|....."..|
|00000d40| 00 00 03 ef ff ff 00 00 | 00 6e 00 00 00 00 03 f0 |........|.n......|
|00000d50| ff ff 00 00 00 74 00 00 | 00 00 00 00 00 00 00 00 |.....t..|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+